<?php


namespace app\common\service\tool\grid;


use think\Model;

/**
 * Class Gird
 * @package app\common\service\tool
 * @method Column column($key,$lable="")
 */
class Format
{

    /**
     * @var Model $db
     */
    protected $db;

    public function __construct($data)
    {

        $this->db = $data;

    }

    public function __call($name, $arguments)
    {

    }

    /**
     * 创建
     */
    public static function create($model, \Closure $closure){

        $self = new static($model);


    }


    /**
     * 解析数据
     */
    public function param(){

    }
}